package databaseManageInfo.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;
import java.time.LocalDateTime;
import java.util.Date;

@Data
@NoArgsConstructor

@TableName(value = "database_manage")
public class DatabaseManageInfo {

    @Schema(description = "内码",name = "id")
    @Id
    private Integer id;

    @Schema(description = "数据源名称",name = "databaseName")
    private String databaseName;

    @Schema(description = "数据库类型",name = "databaseType")
    private String databaseType;

    @Schema(description = "数据源描述",name = "databaseDesc")
    private String databaseDesc;

    @Schema(description = "jdbc_url",name = "url")
    private String url;

    @Schema(description = "用户名",name = "user")
    private String user;

    @Schema(description = "密码",name = "password")
    private String password;

    @Schema(description = "应用状态",name = "status")
    private Integer status;

    @Schema(description = "开始时间",name = "createTime")
    private LocalDateTime createTime;

    @Schema(description = "更新时间",name = "updateTime")
    private LocalDateTime updateTime;
}
